package com.nengchuan.eic.nceconomy.entity.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户项目关联表
 * </p>
 *
 * @author panwen
 * @since 2020-05-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("nc_project_role")
@ApiModel(value="ProjectRole对象", description="用户项目关联表")
public class ProjectRole implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty(value = "项目ID")
    private Long projectId;

    @ApiModelProperty(value = "主责用户ID")
    private Long dutyUserId;
    @ApiModelProperty(value = "主责用户姓名")
    private String dutyUserName;
    @ApiModelProperty(value = "专责类型 1-技经 2-技术")
    private String type;
    @ApiModelProperty(value = "逻辑删除（0：有效 1：删除）")
    @TableLogic
    private Integer delFlag;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建人id")
    @TableField(fill = FieldFill.INSERT)
    private Long createId;

    @ApiModelProperty(value = "创建人姓名")
    @TableField(fill = FieldFill.INSERT)
    private String createName;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Long createTime;

    @ApiModelProperty(value = "修改人id")
    @TableField(fill = FieldFill.UPDATE)
    private Long modifyId;

    @ApiModelProperty(value = "修改人姓名")
    @TableField(fill = FieldFill.UPDATE)
    private String modifyName;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.UPDATE)
    private Long modifyTime;

}
